#include "string.h"

using namespace std;

void test1()
{
	ssy::string s1;
	ssy::string s2("ssy666");
	ssy::string s3("s");
	cout << "s1 : " << s1 << endl;
	cout << "s2 : " << s2 << endl;
	cout << "s3 : " << s3 << endl;
	s1.push_back('s');
	s1.append("sy666");
	s3.append("sy66");
	s3.push_back('6');
	cout << "s1 : " << s1 << endl;
	cout << "s2 : " << s2 << endl;
	cout << "s3 : " << s3 << endl;
}

void test2()
{
	cout << "void test2()" << endl;
	ssy::string s1;
	ssy::string s2("ssy666");
	ssy::string s3("s");
	cout << "s1 : " << s1 << endl;
	cout << "s2 : " << s2 << endl;
	cout << "s3 : " << s3 << endl;
	s1 += 's';
	s1 += "sy666";
	s3 += "sy66";
	s3 += '6';
	cout << "s1 : " << s1 << endl;
	cout << "s2 : " << s2 << endl;
	cout << "s3 : " << s3 << endl;

}

void test3()
{
	ssy::string s2("ssy666");
	s2.insert(3, "6666666666666666");
	for (auto ch : s2)
	{
		cout << ch;
	}
	cout << endl;
	s2.insert(0, "xxxxx");
	for (auto ch : s2)
	{
		cout << ch;
	}
	cout << endl;
	s2.erase(0, 5);
	for (auto ch : s2)
	{
		cout << ch;
	}
	cout << endl;
	s2.resize(3);
	for (auto ch : s2)
	{
		cout << ch;
	}
	cout << endl;
	s2.resize(20, 'q');
	for (auto ch : s2)
	{
		cout << ch;
	}
	cout << endl;
}

void test4()
{
	ssy::string s;
	cin >> s;
	cout << s;
}

int main()
{
	test4();
	return 0;
}